import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index';
import { store } from './store/store'
import elementUI from 'element-plus'

// css import
import 'element-plus/theme-chalk/index.css'
import 'styles/index.scss'
import 'styles/element.scss'
import 'styles/transition.scss'
import 'styles/echarts.scss'
import 'styles/nymo.scss'

// svg
import 'virtual:svg-icons-register'
import SvgIcon from 'comps/SvgIcon/index.vue';

const app = createApp(App);
app.use(router).use(store)

// 引入elementUI, 使用者可以根据自己的需求按需引入
app.use(elementUI);
app.component('svg-icon', SvgIcon)
app.mount('#app');
